﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using File=Wehttam.Build.Engine.Comparers.File;

namespace Wehttam.Build.Test
{
	public class MockFile : File
	{
		private readonly Stream _stream;

		public MockFile( string path ) : base( path )
		{
		}

		public MockFile( Stream stream ) : base( "" )
		{
			_stream = stream;
		}

		public MockFile( string path, Stream stream ) : base( path )
		{
			_stream = stream;
		}

		protected override Stream InternalStream
		{
			get
			{
				return _stream;
			}
		}
	}
}
